package UpoopDemo.demo3;

public class Cook extends Employee{
    public Cook(){
        super();
    }
    public Cook(String name,String id, int salary){
        super(id, name, salary);
    }
    @Override
    public void eat(){
        System.out.println("吃米饭");
    }
    public void work(){
        System.out.println("炒菜");
    }
}
